﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;


namespace Entites
{
   
    public class UserRole :BaseEntity
    {
        [ForeignKey("User")]
        public Guid UserId { get; set; }
        public User User  { get; set; }

        [ForeignKey("Role")]
        public Guid RoleId { get; set; }
        public Role Role { get; set; }

    }
}
